package com.starmark.core.framework.config;

import lombok.Data;
import org.springframework.stereotype.Component;

/**
 * The class Async task properties.
 *
 * @author starmark
 */
@Component
@Data
public class AsyncTaskProperties {

    private int corePoolSize = 50;

    private int maxPoolSize = 100;

    private int queueCapacity = 10000;

    private int keepAliveSeconds = 3000;

    private String threadNamePrefix = "paas-cloud-task-executor-";
}
